Skip to content

Conversation

@saitunc
Copy link
Contributor

@saitunc saitunc commented Dec 9, 2025

Purpose

We needed a way to check if the keys in the settlement module configuration are indeed private keys of contracts deployed on L1. To make it, a small function is implemented, which checks the deployment via network configuration in MinaBaseLayer

This PR closes #352

Commit Descriptions

  • Added token contract addresses getter: b4e2780. If there are no keys, an empty array is returned.

  • Deployment check function is added 0ffc741. It is configured to check both:

    • Checking account in the local with hasAccount method
    • Checking account with fetchAccounts method by using network configurations given in the Settlement.test.ts
  • Added test cases to check the deployment before and after deployment d9da9bd

@rpanic rpanic changed the base branch from develop to feat/signer-integration December 9, 2025 18:14
@saitunc saitunc force-pushed the feat/deployment-check branch from d9da9bd to 638e16e Compare December 10, 2025 15:35
@saitunc saitunc changed the base branch from feat/signer-integration to develop December 10, 2025 15:35
@saitunc saitunc marked this pull request as ready for review December 10, 2025 15:36
@saitunc saitunc requested a review from rpanic December 10, 2025 15:36
@saitunc saitunc requested a review from rpanic December 11, 2025 11:58
@saitunc saitunc merged commit feea178 into develop Dec 11, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add check that the configured settlement contract(s) are actually deployed

3 participants